perf fuzzer: Targeted Fuzzing of the perf event open() System Call

نویسندگان

  • Vincent M. Weaver
  • Dave Jones
چکیده

Fuzzing is a process where random, almost valid, input streams are automatically generated and fed into computer systems in order to test the robustness of userexposed interfaces. We fuzz the Linux kernel system call interface; unlike previous work that attempts to generically fuzz all of an operating system’s system calls, we explore the effectiveness of using specific domain knowledge and focus on finding bugs and security issues related to a single Linux system call. The perf event open() system call was introduced in 2009 and has grown to be a complex interface with over 40 arguments that interact in subtle ways. By using detailed knowledge of typical perf event usage patterns we develop a custom tool, perf fuzzer, that has found bugs that more generic, system-wide, fuzzers have missed. Numerous crashing bugs have been found, including a local root exploit. Fixes for these bugs have been merged into the main Linux source tree. Testing continues to find new bugs, although they are increasingly hard to isolate, requiring development of new isolation techniques and helper utilities. We describe the development of perf fuzzer, examine the bugs found, and discuss ways that this work can be extended to find more bugs and cover other system calls.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the Complexity of Perfect Models of Logic Programs

In this paper we investigate computational complexity of the PERF-consistency and PERF-entailment problems for ground normal logic programs. In [3] it is proved that these problems belong to Σ2 and Π P 2 correspondingly. The question of obtaining more accurate results was left as open. We prove that both problems belong to ∆2 . Lower bounds on the complexity of these problems are also establish...

متن کامل

DFS-Perf: A Scalable and Unified Benchmarking Framework for Distributed File Systems

A distributed file system (DFS) is a key component of virtually any cluster computing system. The performance of such system depends heavily on the underlying DFS design and deployment. As a result, it is critical to characterize the performance and design trade-offs of DFSes with respect to cluster configurations and real-world workloads. To this end, we present DFS-Perf, a scalable, extensibl...

متن کامل

Geometricity of the Hodge Filtration on the ∞-stack of Perfect Complexes over Xdr

We construct a locally geometric ∞-stack MHod(X,Perf) of perfect complexes with λ-connection structure on a smooth projective variety X. This maps to A1/Gm, so it can be considered as the Hodge filtration of its fiber over 1 which is MDR(X,Perf), parametrizing complexes of DX-modules which are OX -perfect. We apply the result of Toen-Vaquié that Perf(X) is locally geometric. The proof of geomet...

متن کامل

The New Linux ’perf’ Tools

1 Abstract The perf events infrastructure is fast moving into being the unifying channel for hardware and software performance analysis. Modern CPUs have hardware dedicated to counting events associated with performance, special registers that allow pinpointing hotspots that can possibly be optimized. Recent developments in the Linux kernel explore these features, solving problems found in prev...

متن کامل

Perf-Insight: A Simple, Scalable Approach to Optimal Data Prefetching in Multicores

Aggressive hardware prefetching is extremely beneficial for single-threaded performance but can lead to significant slowdowns in multicore processors due to oversubscription of off-chip bandwidth and shared cache capacity. This work addresses this problem by adjusting prefetching on a per-application basis to improve overall system performance. Unfortunately, an exhaustive search of all possibl...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015